@inherits BaseComponent

@namespace FluentCMS.Web.UI.Components

@if(Visible)
{
    <li @attributes="AdditionalAttributes"
        class="@this.GetClasses()">
        @if (!string.IsNullOrEmpty(Href))
        {
            <a href="@Href">
                @ChildContent
            </a>
        }
        else
        {
            <span @onclick="OnClicked">
                @ChildContent
            </span>
        }
    </li>
}